<wx:page
 class="x-page"
 id="page"
 style="font-size:12px;color:#666666"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<wx:model
 id="model"
 style="left:0px;top:0px;height:auto;position:absolute">
<wx:wxApi
 id="wxapi"
 label="通用接口"/>
<wx:commonOperation
 id="commonOperation"
 label="操作扩展"
 xmlns:wx="$UI/wxsys/comps"/>
<wx:restData
 _created="true"
 auto="load"
 className="/main/gouwuj"
 id="restData"
 label="购物车"
 url="/dbrest"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<column
 id="default8"
 label="选中数量"
 name="col0"
 type="Integer"
 xmlns="http://www.w3.org/1999/xhtml"/>
<column
 id="default9"
 label="选中金额"
 name="col1"
 type="Double"
 xmlns="http://www.w3.org/1999/xhtml"/>
<join
 id="default10"
 leftTable="/main/gouwuj"
 rightTable="/main/shangpin1"
 xmlns="http://www.w3.org/1999/xhtml">
<on
 fn="eq"
 id="default11"
 leftField="fshangpinid"
 leftFieldLabel="商品id"
 rightField="fid"
 rightFieldLabel="主键"/>
<column
 field="fmingcheng"
 id="default12"
 label="商品id-名称"
 name="fshangpinid_shangpin1_fmingcheng"/>
<column
 field="ftupian"
 id="default13"
 label="商品id-图片"
 name="fshangpinid_shangpin1_ftupian"/>
<column
 field="fjiage"
 id="default14"
 label="商品id-价格"
 name="fshangpinid_shangpin1_fjiage"/></join>
<rule
 id="rule">
<col
 id="default2"
 name="col0"
 xid="xid_1549173640061_0">
<calculate
 id="default3">
<expr
 id="default4"><![CDATA[wx.Util.iif($row.fxuanzhong==1,$row.fshuoliang,0)]]></expr></calculate></col>
<col
 id="default5"
 name="col1"
 xid="xid_1549173640062_1">
<calculate
 id="default6">
<expr
 id="default7"><![CDATA[wx.Util.iif($row.fxuanzhong==1,$row.fshuoliang * $row.fshangpinid_shangpin1_fjiage,0)]]></expr></calculate></col></rule></wx:restData>
<wx:restData
 _created="true"
 auto="load"
 className="/main/dianpu"
 id="restData1"
 label="店铺"
 url="/dbrest"/>
<wx:tableData
 auto="load"
 className="/main/yemiansj"
 id="tableData"
 label="页面数据"/></wx:model>
<wx:loading
 class="weui-loader-full {{$state.loadingNum &lt;= 0 ?'weui-loader-hide':''}}"
 style="z-index: 10001;"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<view
 class="ball-scale-ripple-multiple">
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/></view></wx:loading>
<wx:inVisibleCompContainer
 id="inVisibleCompContainer"/>
<wx:panel
 class="x-panel x-full"
 id="panel">
<wx:top
 class="x-panel-top"
 id="top">
<wx:row
 class="x-row"
 id="row">
<wx:col
 class="x-col"
 id="col">
<wx:checkbox
 bind:ref="tableData.current.fquanxuan"
 color="#fa6868"
 id="checkbox"
 shape="circle"
 value="1"/>
<wx:text
 bind:text="restData1.current.fshanghumc"
 id="text">商户名称</wx:text></wx:col>
<wx:col
 class="x-col"
 id="col2">
<wx:text
 id="text1">删除</wx:text></wx:col></wx:row></wx:top>
<wx:content
 class="x-panel-content"
 id="content"
 style="top:48px;bottom:48px;font-size:12px;color:#666666"></wx:content>
<wx:bottom
 class="x-panel-bottom"
 id="bottom"/></wx:panel></wx:page>___js___:import PageImpl from "$UI/wxsys/lib/base/pageImpl";var app = getApp();export default class IndexPage extends PageImpl {constructor(...args){super(...args);}}